<template>
  <div id="app">
    <header-top></header-top>
    <menu-nav v-if="menus"></menu-nav>
    <router-view />
    <footer-bootm></footer-bootm>

  </div>
</template>

<script>

import HeaderTop from "@/components/header";
import MenuNav from "@/components/menu";
import FooterBootm from "@/components/footer";
import {mapState} from "vuex";

export default {
  name: 'app',
  components: {FooterBootm, MenuNav, HeaderTop},
  data(){
    return{

    }
  },
  computed: {
    ...mapState({
      menus:state => state.user.menus,
    })
  },
  mounted() {
  },
  methods:{

  }
}
</script>

<style lang="scss" >

#app {
  font: 14px/1.5 Microsoft Yahei,Avenir,Segoe UI,Hiragino Sans GB,STHeiti,Microsoft Sans Serif,WenQuanYi Micro Hei,sans-serif;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50; font-size: 14px;
  background: #eee;

  min-height: 100vh;
}

.clearfix:after{content:'';display:block;clear:both;visibility:hidden;height:0;}
.clearfix{zoom:1;}
.container{width: 1300px;margin: auto;}
@media screen and (max-width:1366px){
  .container{width: 1300px;}
}
@media screen and (max-width:1280px){
  .container{width: 97%; margin: auto 1.5%;}
}
@media screen and (max-width:760px){}

@media (max-width: 414px){

}

</style>
